package com.hotel.couponsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hotel.couponsystem.pojo.CouponAdmin;
import com.hotel.couponsystem.pojo.vo.CouponAdminVo;

import java.util.Map;

/**
 * (CouponAdmin)表服务接口
 *
 * @author makejava
 * @since 2022-09-30 15:01:30
 */
public interface CouponAdminService extends IService<CouponAdmin> {
    //    登录
    CouponAdminVo login(CouponAdmin couponAdmin);
    //    注册
    Boolean Register(CouponAdmin couponAdmin);
    //发送短信
    boolean sendMessage(Map<String,Object> map, String userTelno);
    //根据手机号和验证码登录
    CouponAdminVo loginByCode(String userTelno,String code);

}

